/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package cognitivetest.toolLibs;

import java.text.SimpleDateFormat;
import java.util.Calendar;

/**
 *
 * @author Libra
 */
public class DateTime {

    public static String getDateString() {
        Calendar cal = Calendar.getInstance();
        SimpleDateFormat dateFormat = new SimpleDateFormat("yyyy/MM/dd");
        return dateFormat.format(cal.getTime());
    }
}
